package net.zjitc.service;

import net.zjitc.dao.UserDao;
import net.zjitc.dao.UserDaoInmpl;
import net.zjitc.domain.User;

import java.sql.SQLException;

/**
 * Created by Administrator on 2017/9/29.
 */
public interface UserService {
    User findByUsernameAndPassword(String username, String password);
    int regist(User user) throws SQLException;
}
